﻿using System.Web.Optimization;

namespace MyWebApp.App_Start
{
    public class BundleConfig
    {
        // For more information on Bundling, visit http://go.microsoft.com/fwlink/?LinkId=254725
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(new ScriptBundle("~/bundles/jquery").Include(
                        "~/Scripts/libs/jquery-{version}.js"));

            bundles.Add(new ScriptBundle("~/bundles/jqueryval").Include(
                        "~/Scripts/libs/jquery.unobtrusive*",
                        "~/Scripts/libs/jquery.validate*"));

            bundles.Add(new ScriptBundle("~/bundles/init").Include(
                       "~/Scripts/libs/angular.js",
                       "~/bootstrap/js/bootstrap.js",
                       "~/Scripts/libs/jquery.fancybox.pack.js",
                       "~/Scripts/init.js"));

            bundles.Add(new StyleBundle("~/Content/css").Include(
                "~/bootstrap/css/bootstrap-flatly.css",
                 "~/bootstrap/css/font-awesome.css",
                "~/site.css",
                "~/jquery.fancybox.css"
                ));



            BundleTable.EnableOptimizations = false;

            /*// Use the development version of Modernizr to develop with and learn from. Then, when you're
         // ready for production, use the build tool at http://modernizr.com to pick only the tests you need.
         bundles.Add(new ScriptBundle("~/bundles/modernizr").Include(
                     "~/Scripts/libs/modernizr-*"));*/

        
        }
    }
}